package com.mk.admin.mapper;

import com.mk.admin.model.dto.MessageReadDto;
import com.mk.admin.model.entity.MessageReadEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageReadMapper extends MKBaseMapper<MessageReadEntity> {
    List<MessageReadDto> select(MessageReadEntity entity);

    int notReadCountPat(MessageReadEntity entity);

    List<MessageReadDto>  selectNotReadPat(MessageReadEntity entity);
}
